package swa2.icecream.command;

import swa2.icecream.factory.AbstractIceCreamFactory;

public class CreateIceCreamCommand implements Command {
	
	private AbstractIceCreamFactory factory;
		
	public CreateIceCreamCommand(AbstractIceCreamFactory factory) 
	{
		super();
		this.factory = factory;
	}
	@Override
	public void execute() {
		factory.createIceCream();
	}

	@Override
	public void undo() {
	}

}
